package md.lanjing.com.module_deal_center.bean;

import java.util.List;

public class BuyOrderStateResponce {


    /**
     * code : 200
     * msg : success
     * data : [{"transferBillLog":{"id":"15428570243407","billId":"2","tokenNum":"1.0","buyerId":7,"buyTime":1542857024000,"confirmTime":null,"transactionPic":null,"payment":null,"status":1},"owner":"17150301507","cnyPrice":"2","type":"USDT"},{"transferBillLog":{"id":"15428570120797","billId":"12","tokenNum":"1.0","buyerId":7,"buyTime":1542857012000,"confirmTime":null,"transactionPic":null,"payment":null,"status":1},"owner":"18818429729","cnyPrice":"2","type":"CAWD"},{"transferBillLog":{"id":"15428568226897","billId":"12","tokenNum":"1.0","buyerId":7,"buyTime":1542856823000,"confirmTime":null,"transactionPic":null,"payment":null,"status":1},"owner":"18818429729","cnyPrice":"2","type":"CAWD"},{"transferBillLog":{"id":"15428567224547","billId":"12","tokenNum":"1.0","buyerId":7,"buyTime":1542856722000,"confirmTime":null,"transactionPic":null,"payment":null,"status":1},"owner":"18818429729","cnyPrice":"2","type":"CAWD"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean{
        /**
         * transferBillLog : {"id":"15428570243407","billId":"2","tokenNum":"1.0","buyerId":7,"buyTime":1542857024000,"confirmTime":null,"transactionPic":null,"payment":null,"status":1}
         * owner : 17150301507
         * cnyPrice : 2
         * type : USDT
         */

        private TransferBillLogBean transferBillLog;
        private String owner;
        private Double cnyPrice;
        private String type;
        private String remainingTime;

        public String getRemainingTime() {
            return remainingTime;
        }

        public void setRemainingTime(String remainingTime) {
            this.remainingTime = remainingTime;
        }

        public TransferBillLogBean getTransferBillLog() {
            return transferBillLog;
        }

        public void setTransferBillLog(TransferBillLogBean transferBillLog) {
            this.transferBillLog = transferBillLog;
        }

        public String getOwner() {
            return owner;
        }

        public void setOwner(String owner) {
            this.owner = owner;
        }

        public Double getCnyPrice() {
            return cnyPrice;
        }

        public void setCnyPrice(Double cnyPrice) {
            this.cnyPrice = cnyPrice;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public static class TransferBillLogBean{
            /**
             * id : 15428570243407
             * billId : 2
             * tokenNum : 1.0
             * buyerId : 7
             * buyTime : 1542857024000
             * confirmTime : null
             * transactionPic : null
             * payment : null
             * status : 1
             */

            private String id;
            private String billId;
            private String tokenNum;
            private String buyerId;
            private String buyTime;
            private String confirmTime;
            private String transactionPic;
            private String payment;
            private int status;
            private String  lockTime;

            public String getLockTime() {
                return lockTime;
            }

            public void setLockTime(String lockTime) {
                this.lockTime = lockTime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getBillId() {
                return billId;
            }

            public void setBillId(String billId) {
                this.billId = billId;
            }

            public String getTokenNum() {
                return tokenNum;
            }

            public void setTokenNum(String tokenNum) {
                this.tokenNum = tokenNum;
            }

            public String getBuyerId() {
                return buyerId;
            }

            public void setBuyerId(String buyerId) {
                this.buyerId = buyerId;
            }

            public String getBuyTime() {
                return buyTime;
            }

            public void setBuyTime(String buyTime) {
                this.buyTime = buyTime;
            }

            public String getConfirmTime() {
                return confirmTime;
            }

            public void setConfirmTime(String confirmTime) {
                this.confirmTime = confirmTime;
            }

            public String getTransactionPic() {
                return transactionPic;
            }

            public void setTransactionPic(String transactionPic) {
                this.transactionPic = transactionPic;
            }

            public String getPayment() {
                return payment;
            }

            public void setPayment(String payment) {
                this.payment = payment;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }
    }
}
